/**
 * Created by xinhuang on 15/6/10.
 */
(function (angular) {
  'use strict';

  angular.module('services.customActivity.realtime')
    .constant('MODULES_ID', {
      BUS_DAY_VOL: {UPAY: 111, TMALL: 112, SCPAY: 113, BANK: 114, VCES: 115, LINGXI: 116},
      BUS_TOTAL_VOL: {UPAY: 131, TMALL: 132, SCPAY: 133, BANK: 134, VCES: 135, LINGXI: 136},
      BUS_TIME_VOL: {UPAY: 121, TMALL: 122, SCPAY: 123, BANK: 124, VCES: 125, LINGXI: 126},
      USER_RECHARGE_PREFER: {UPAY: 141, TMALL: 142, SCPAY: 143, BANK: 144, VCES: 145, LINGXI: 146},
      BUS_PRO_VOL: 151,
      UPAY_SUCCESSRATE: {BUS_PROCESS: 211, SYS_PROCESS: 212},
      PROVINCE_BUS_SUCCESSRATE: {TOTAL: 221, TMALL: 222, SCPAY: 223, BANK: 224, VCES: 225, LINGXI: 226},
      PROVINCE_SYS_SUCCESSRATE: {TOTAL: 231, TMALL: 232, SCPAY: 233, BANK: 234, VCES: 235, LINGXI: 236},
      ALL_BUS_SUCCESSRATE: {TOTAL: 241, TMALL: 242, SCPAY: 243, BANK: 244, VCES: 245, LINGXI: 246},
      ALL_SYS_SUCCESSRATE: {TOTAL: 251, TMALL: 252, SCPAY: 253, BANK: 254, VCES: 255, LINGXI: 256},
      PROVINCE_SUCCESSRATE: 261,
      UPAY_HEALTH: 310,
      PROCESS_TIME: {UPAY: 411, TMALL: 412, SCPAY: 413, BANK: 414, VCES: 415, LINGXI: 416},
      THROUGHPUT: {UPAY: 421, TMALL: 422, SCPAY: 423, BANK: 424, VCES: 425, LINGXI: 426},
      TPS: {UPAY: 431, TMALL: 432, SCPAY: 433, BANK: 434, VCES: 435, LINGXI: 436}
    })
    .constant('BUSINESS_LINE_NAME', {
      TOTAL: '',
      UPAY: '统一支付',
      TMALL: '天猫旗舰店',
      SCPAY: '移动商城',
      BANK: '银行总对总',
      VCES: '有价卡',
      LINGXI: '灵犀语音'
    })
    .constant('MODULE_SERVER', {
      busDayVol: 'businessDayVolume',
      busTotalVol: 'businessTotalVolume',
      busTimeVol: 'businessTimeVolume',
      userRechargePrefer: 'userRechargePreference',
      busProVol: 'businessProvinceVolume',
      provinceSuccessrate: 'provinceAllBusinessProcess',
      processTime: 'averageProcessTime',
      throughput: 'maxThroughput',
      tps: 'maxTPS',
      upaySuccessrate: 'upaySuccessRate',
      provinceBusSuccessrate: 'proBusSuccessRate',
      provinceSysSuccessrate: 'proSysSuccessRate',
      allBusSuccessrate: 'allBusSuccessRate',
      allSysSuccessrate: 'allSysSuccessRate',
      upayHealth: 'health'
    });
})(angular);